// MerchantService.java
package cn.tedu.apps_system.service;

import cn.tedu.apps_system.pojo.dto.MerchantAddDTO;
import cn.tedu.apps_system.pojo.dto.MerchantUpdateDTO;
import cn.tedu.apps_system.pojo.vo.MerchantVO;

public interface MerchantService {
    void add(MerchantAddDTO merchantAddDTO);

    void update(MerchantUpdateDTO merchantUpdateDTO);

    void delete(Long id);

    MerchantVO getById(Long id);

    MerchantVO getByUserId(Long userId);
}